package com.zygk.qybofficial.activity;

import android.content.Intent;
import android.os.Bundle;

import com.zygk.library.base.BaseActivity;
import com.zygk.qybofficial.R;
import com.zygk.qybofficial.config.Urls;

public class MainActivity extends BaseActivity {

  @Override protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
  }

  @Override public void setContentView() {
    setContentView(R.layout.activity_main);
  }

  @Override public void init() {
    // 登陆xmpp
//    XMPP.loginXmpp(mContext, AppApplication.instance(), "wuk", "1vUMNSjffPB0Qzh83DkfiQ==",new Intent(mContext, ChatActivity.class));

    Intent intent = new Intent(mContext, H5Activity.class);
    intent.putExtra(H5Activity.INTENT_URL, Urls.H5_LOGIN);
    startActivity(intent);
    finish();
  }
}
